import sys
from daphne.cli import CommandLineInterface

sys.argv = ['daphne', '-b', '0.0.0.0', '-p', '8000', 'myproject.asgi:application']
CommandLineInterface.entrypoint()
